<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>果趣网</title>
<link href="__TMPL__Public/css/style.css" type="text/css" rel="stylesheet" />
<script language="javascript" type="text/javascript" src="__ROOT__/statics/js/jquery/jquery-1.4.2.min.js"></script>
<script language="javascript" type="text/javascript" src="__ROOT__/statics/js/common.js"></script>
<script language="javascript">
var URL = '__URL__';
var ROOT_PATH = '__ROOT__';
var APP	 =	 '__APP__';
</script>
<!--[if lte IE 6]>
<script src="js/DD_belatedPNG_0.0.8a.js" type="text/javascript"></script>
    <script type="text/javascript">
        DD_belatedPNG.fix('div, ul, img, li, input , a');
    </script>
<![endif]--> 
</head>
<body>
	<div id="header">
    	<div class="header_top">
        	<div class="logo fl">
            	<a href="__APP__" title="果趣网，开心消费每一天！"><img src="__TMPL__Public/images/logo.jpg" /></a>        
            </div>
            <div class="header_img fl"></div>
            <div class="header_search fl">
           		<div class="search_left fl">
                	<div class="search_left_l fl"></div>
                    <input type="text" class="search_left_r fr" value="输入email地址，订阅每日团购信息"/>                  
            	</div>
            	<input type="button" class="order fr"/>
            	<div class="cb"></div>
          	</div>
            <div class="cb"></div>     
        </div>
        <div class="header_nav">
        	<div class="nav_content">
                <ul class="nav_title fl">
                    <li <?php if($curr_nav == 'index'): ?>class="nav_title_selected"<?php endif; ?>>
                        <img src="__TMPL__Public/images/header_nav_img1_17.jpg" class="image fl"/>
                        <a href="__APP__" class="fl">今日推荐</a>
                        <div class="cb"></div>
                    </li>
                    <li class="separator"></li>
                    <li <?php if($curr_nav == 'goods'): ?>class="nav_title_selected"<?php endif; ?>><a href="<?php echo u('goods/index');?>">所有团购</a></li>
                    <li class="separator"></li>
                    <li <?php if($curr_nav == 'help'): ?>class="nav_title_selected"<?php endif; ?>><a href="<?php echo u('article/list');?>">新手帮助</a></li>
                    <li class="separator"></li>
                    <li><a href="bbs/">商城社区</a></li>
                    <div class="cb"></div>
                </ul>
                <div class="nav_login fr">
                	<?php if(isset($_SESSION['user_info'])): ?><div class="mycenter fl">
            			<a href="<?php echo u('member/index');?>">我的果趣</a>
                    </div>
                    <div class="logout fl">
                    <a href="<?php echo u('member/logout');?>">退出</a>
                    </div><?php endif; ?>
                    <?php if(!isset($_SESSION['user_info'])): ?><div class="login fl">
                    	<a href="<?php echo u('member/login');?>">登录</a>
                    </div>
                    <div class="registered fl">
                    	<a href="<?php echo u('member/register');?>"> 注册</a>
                    </div><?php endif; ?>
                </div>
                <div class="cb"></div>
            </div>     
         </div>
         <div class="header_recommend">
        	<div class="header_recommend_content">
            	<a href="" class="header_recommend_selected">今日推荐</a>
                <a href="">化妆品</a>
                <a href="">创意家居</a>
                <a href="">酒店</a>
                <a href="">度假</a>
                <div class="cb"></div>
            </div>
        </div>
    </div>

<link href="__TMPL__Public/css/list.css" type="text/css" rel="stylesheet" />
<div id="main">
  <div class="content">
    <div class="advertisement"> <a href=""><img src="__TMPL__Public/images/advertise.jpg" /></a> </div>
    <div class="content_left fl">
      <div class="all_goods">
        <div class="all_goods_top"></div>
        <div class="all_goods_center">
          <h3>全部商品</h3>
          <p class="bottom_separated"></p>
          <ul class="goods_list">
            <?php if(is_array($item_list)): $i = 0; $__LIST__ = $item_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): ++$i;$mod = ($i % 2 )?><li>
                <div class="list_title"> <a href="<?php echo u('goods/view', array('id'=>$val['id']));?>" title="<?php echo ($val["name"]); ?>"><?php echo ($val["name"]); ?></a> </div>
                <div class="list_img"> <a title="<?php echo ($val["name"]); ?>" href="<?php echo u('goods/view', array('id'=>$val['id']));?>" id="mouseover_border"><img src="__PUBLIC__/Uploads/<?php echo ($val["img"]); ?>" /></a>
                  <div class="discount"><?php echo ($val["discount"]); ?><br>
                    &nbsp;&nbsp;折</div>
                </div>
                <div class="list_price"> <span class="now_price fl">￥<?php echo ($val["sprice"]); ?></span> <span class="old_price fl">原价：<?php echo ($val["mprice"]); ?>元<br>
                  折扣：<?php echo ($val["discount"]); ?>折</span> <a href="<?php echo u('goods/view', array('id'=>$val['id']));?>" class="goods_look fr">查 看</a>
                  <div class="cb"></div>
                </div>
                <div class="list_bottom">
                  <div class="countdown fl"></div>
                  <div class="people_hadbuy fr"> <span class="people_buynum"><?php echo ($val["bought"]); ?></span>人购买 </div>
                  <div class="cb"></div>
                </div>
              </li><?php endforeach; endif; else: echo "" ;endif; ?>
          </ul>
          <div class="cb"></div>
        </div>
        <div class="all_goods_down"></div>
      </div>
    </div>
    			<div class="content_right fl">
				<dl class="hot" style=" margin-bottom:10px;">
					<dd class="hot_title">热门</dd>
                    
                	<?php if(is_array($hot_list)): $i = 0; $__LIST__ = $hot_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): ++$i;$mod = ($i % 2 )?><dd class="hot_content">
						<a href="<?php echo u('goods/view', array('id'=>$val['id']));?>" target="_blank"><?php echo ($val["name"]); ?></a>
                    </dd>
					<dd class="hot_down">
						<dt class="hot_down_left fl">
							<div class="hot_nowprice">
								<img src="__TMPL__Public/images/hot_jiantou.jpg" class="fl"/>
								<span class="hot_nowprice_detail fl">￥<?php echo ($val["sprice"]); ?></span>
								<div class="cb"></div>
							</div>
							<div class="hot_oldprice">
								<span class="">原价 ￥<?php echo ($val["mprice"]); ?></span>
							</div>
							<div class="look"><a href="<?php echo u('goods/view', array('id'=>$val['id']));?>" class="view">查看</a></div>
						</dt>
						<dt class="hot_pic fl">
							<a href="<?php echo u('goods/view', array('id'=>$val['id']));?>" class="view" target="_blank"><img src="__PUBLIC__/Uploads/<?php echo ($val["img"]); ?>" width="110" height="76" class="ie6_bug"/></a>
						</dt>
						<div class="cb"></div>
					</dd><?php endforeach; endif; else: echo "" ;endif; ?>
                    
				</dl>
                
                <dd class="hot_title">更多推荐</dd>
                <?php if(is_array($recommend_list)): $i = 0; $__LIST__ = $recommend_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): ++$i;$mod = ($i % 2 )?><dl class="hot">
					<dd class="hot_content">
						<a href="<?php echo u('goods/view', array('id'=>$val['id']));?>" target="_blank"><?php echo ($val["name"]); ?></a>
					</dd>
					<dd class="hot_down">
						<dt class="hot_down_left fl">
							<div class="hot_nowprice">
								<img src="__TMPL__Public/images/hot_jiantou.jpg" class="fl"/>
								<span class="hot_nowprice_detail fl">￥<?php echo ($val["sprice"]); ?></span>
								<div class="cb"></div>
							</div>
							<div class="hot_oldprice">
								<span class="">原价 ￥<?php echo ($val["mprice"]); ?></span>
							</div>
							<div class="look"><a href="<?php echo u('goods/view', array('id'=>$val['id']));?>" class="view">查看</a></div>
						</dt>
						<dt class="hot_pic fl">
							<a href="<?php echo u('goods/view', array('id'=>$val['id']));?>" class="view" target="_blank"><img src="__PUBLIC__/Uploads/<?php echo ($val["img"]); ?>" width="110" height="76" class="ie6_bug"/></a>
						</dt>
						<div class="cb"></div>
					</dd>
				</dl><?php endforeach; endif; else: echo "" ;endif; ?>
				<div class="customer_service">
					<div class="customer_service_top"></div>
					<div class="customer_service_center">
						<h3 class="customer_service_title">客户服务</h3>
						<p>如有问题请与我们联系：</p>
						<p>
							<img src="__TMPL__Public/images/call.jpg"/>
							<span class="call_colorred">4008-819-123</span>
						</p>
						<p>
							<img src="__TMPL__Public/images/youxian.jpg" />
							customer@gaopeng.com
						</p>
						<p>
							<img src="__TMPL__Public/images/qq1.jpg" />
							4008819123
							<span class="call_colorred">(企业QQ号)</span>
						</p>
						<p>
							<a href="">常见问题</a>
						</p>
					</div>
					<div class="customer_service_down"></div>
				</div>
				<div class="business_cooperat">
					<div class="business_cooperat_top"></div>
					<div class="business_cooperat_center">
						<h3>商户合作</h3>
						<p>
							<img src="__TMPL__Public/images/bao.jpg" class="fl"/>
							<span class="hop_groupbuy">希望在高朋组织团购？</span>
							<div class="cb"></div>
						</p>
						<p>
							<img src="__TMPL__Public/images/call.jpg"/>
							<span class="call_colorred">010-59802882 北京及周边</span>
						</p>
						<p>
							<img src="__TMPL__Public/images/call.jpg"/>
							<span class="call_colorred">010-59802882 北京及周边</span>
						</p>
						<p>
							<img src="__TMPL__Public/images/call.jpg"/>
							<span class="call_colorred">010-59802882 北京及周边</span>
						</p>
						<p>
							<img src="__TMPL__Public/images/youxian.jpg" />
							shanghu@gaopeng.com
						</p>
					</div>
					<div class="business_cooperat_down"></div>
				</div>
				<div class="attention_guoqu">
					<div class="attention_guoqu_top"></div>
					<div class="attention_guoqu_center">
						<h3>关注果趣</h3>
						<a href="" title="果趣的腾讯微博">
							<img src="__TMPL__Public/images/qqweibo.jpg"  class="fl"/>
							<span class="fl">果趣的腾讯微博</span>	
						</a>
						<div class="cb"></div>
						<a href="" title="果趣的QQ空间">
							<img src="__TMPL__Public/images/qqzone1.jpg"  class="fl"/>
							<span class="fl">果趣的QQ空间</span>
						</a>
						<div class="cb"></div>
						<a href="" title="果趣的新浪微博">
							<img src="__TMPL__Public/images/sina.jpg"  class="fl"/>
							<span class="fl">果趣的新浪微博</span>
						</a>
						<div class="cb"></div>
						<a href="" title="果趣的开心主页">
							<img src="__TMPL__Public/images/kaixin.jpg"  class="fl"/>
							<span class="fl">果趣的开心主页</span>
						</a>
						<div class="cb"></div>
						<a href="" title="果趣的豆瓣小组">
							<img src="__TMPL__Public/images/douban.jpg"  class="fl"/>
							<span class="fl">果趣的豆瓣小组</span>
						</a>
						<div class="cb"></div>
					</div>
					<div class="attention_guoqu_down"></div>
				</div>
			</div>

    <div class="cb"></div>
  </div>
</div>
    <div id="footer">
		<div class="footer_content">
			<div class="footer_content_top">
				<ul class="footer_nav fl">
					<li>
						<a href="<?php echo u('article/view', array('id'=>10));?>">关于我们</a><br/>
						<a href="<?php echo u('article/view', array('id'=>13));?>">加入果趣</a><br/>
						<a href="<?php echo u('article/view', array('id'=>14));?>">媒体报道</a>
					</li>
					<li>
						<a href="<?php echo u('article/view', array('id'=>15));?>">豆瓣小组</a><br/>
						<a href="http://t.sina.com/" target="_blank">新浪微博</a><br/>
						<a href="http://t.sohu.com/" target="_blank">搜狐微博</a>
					</li>
					<li>
						<a href="<?php echo u('article/view', array('id'=>11));?>">新手帮助</a><br/>
						<a href="<?php echo u('article/view', array('id'=>16));?>">常见问题</a><br/>
						<a href="<?php echo u('article/view', array('id'=>17));?>">消费者保障</a>
					</li>
					<li>
						<a href="<?php echo u('article/view', array('id'=>18));?>">市场合作</a><br/>
						<a href="<?php echo u('flink/view');?>">友情链接</a><br/>
						<a href="<?php echo u('article/view', array('id'=>19));?>">开放API</a>
					</li>	
				</ul>
				<div class="footer_logo fl">
					<a href="" title="果趣网，开心消费每一天！"><img src="__TMPL__Public/images/footer_logo.jpg"/></a>
				</div>
				<div class="cb"></div>
			</div>	
			<div class="footer_content_center">京ICP证100700号 京IP备08012378号 北京新态互动科贸有限公司 版权所有 Copyright © 2010 MANZUO.COM All Rights Reserved  
			</div>
			<div class="footer_content_down">
				<a href=""><img src="__TMPL__Public/images/foot_wx.gif" /></a>
				<a href=""><img src="__TMPL__Public/images/foot_dx.gif" /></a>
				<a href=""><img src="__TMPL__Public/images/foot_zfb.gif" /></a>			
			</div>
		</div>
	</div>
</body>
</html>